#-------------------------------------------------
#
# Project created by QtCreator 2013-05-06T18:29:52
#
#-------------------------------------------------

QT       += core gui webkitwidgets network widgets

CONFIG += c++11

TEMPLATE = app
DESTDIR  = ../bin

UI_DIR  = build
RCC_DIR = build

CONFIG(debug, debug|release) {
    TARGET = uz_d
    CONFIG += console
    OBJECTS_DIR = build/debug
    MOC_DIR = build/debug

}
else {
    TARGET = uz

    OBJECTS_DIR = build/release
    MOC_DIR = build/release
}

include(uzconfig.pri)

#include(src/webgrab/webgrab.pri)

SOURCES += src/main.cpp\
        src/uzmainwindow.cpp \
    src/deferredresult.cpp

HEADERS  += src/uzmainwindow.h \
    src/deferredresult.hpp

FORMS    += src/uzmainwindow.ui

#QLOGGER_DIR - Переменная окружения, должна указывать директорию проекта qlogger

CONFIG(debug, debug|release) {
    LIBS += -lqloggerd
} else {
    LIBS += -lqlogger
}

CONFIG(debug, debug|release) {
    LIBS += -luzdatagetter_d
} else {
    LIBS += -luzdatagetter
}

RESOURCES += \
    uz.qrc

OTHER_FILES += \
    tests.txt
